﻿<%@ Control Language="C#" AutoEventWireup="true" CodeBehind="PostListControl.ascx.cs" 
    Inherits="Bookkeeping.Web.UserControls.PostListControl" %>
    
<%@ Register Src="~/UserControls/PostControl.ascx" TagPrefix="bk" TagName="PostControl" %>

<div class="postList">
    <h3><%=Title %></h3>

    <asp:Repeater ID="postRepeater" runat="server" OnItemDataBound="BindPost">
        <ItemTemplate>
            <bk:PostControl ID="postControl" runat="server" />
        </ItemTemplate>
        <AlternatingItemTemplate>
            <bk:PostControl ID="postControl" runat="server" />
        </AlternatingItemTemplate>
    </asp:Repeater>
</div>